package com.ruoyi.supplier.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 每日营业进账流水对象 tb_report_in_flow
 * 
 * @author oliver.li
 * @date 2021-08-14
 */
public class TbReportInFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 流水日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "流水日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date flowDate;

    /** 门店ID */
    private Long storeId;

    @Excel(name = "门店类型")
    private String storeName;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;


    private Long projectId;

    /** 银行表ID */
    private Long bankId;

    @Excel(name = "银行")
    private String bankName;

    /** 进账类别 */
    private Long incomeId;

    @Excel(name = "进账类别")
    private String incomeType;

    /** 进账名目 */
    private Long incomeNameId;

    @Excel(name = "进账名目")
    private String incomeName;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal price;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFlowDate(Date flowDate) 
    {
        this.flowDate = flowDate;
    }

    public Date getFlowDate() 
    {
        return flowDate;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setBankId(Long bankId) 
    {
        this.bankId = bankId;
    }

    public Long getBankId() 
    {
        return bankId;
    }
    public void setIncomeId(Long incomeId) 
    {
        this.incomeId = incomeId;
    }

    public Long getIncomeId() 
    {
        return incomeId;
    }
    public void setIncomeNameId(Long incomeNameId) 
    {
        this.incomeNameId = incomeNameId;
    }

    public Long getIncomeNameId() 
    {
        return incomeNameId;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public void setIncomeType(String incomeType) {
        this.incomeType = incomeType;
    }

    public void setIncomeName(String incomeName) {
        this.incomeName = incomeName;
    }

    public String getStoreName() {
        return storeName;
    }

    public String getBankName() {
        return bankName;
    }

    public String getIncomeType() {
        return incomeType;
    }

    public String getIncomeName() {
        return incomeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("flowDate", getFlowDate())
            .append("storeId", getStoreId())
            .append("projectName", getProjectName())
                .append("projectId",getProjectId())
            .append("bankId", getBankId())
                .append("bankName",getBankName())
            .append("incomeId", getIncomeId())
                .append("incomeType",getIncomeType())
            .append("incomeNameId", getIncomeNameId())
                .append("incomeName",getIncomeName())
            .append("price", getPrice())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
